package org.sl.flvplayer.elements {
	import org.sl.flvplayer.elements.ControllerElement;

	import flash.events.MouseEvent;

	/**
	 * PlayControllerElement has no color_mc and therefor the over and out mouselisteners should be removed.  
	 * 
	 * @package org.sl.flvplayer.elements
	 * @author Dan
	 * @version
	 * @see org.sl.flvplayer.elements.IControllerElement
	 * @see org.sl.flvplayer.controls.Controller
	 */ 
	public class PlayControllerElement extends ControllerElement {
		
		/**
		 * Removes the mouselisteners for the highlightcolor effect.
		 * 
		 * @param p_allowScale indicates whether the element is scaleable
		 */
		public function PlayControllerElement(p_allowScale : Boolean = false) {
			super();
			allowScale = p_allowScale;
			mouseChildren = false;	
			removeEventListener(MouseEvent.MOUSE_OVER, onMouseOver);
			removeEventListener(MouseEvent.MOUSE_OUT, onMouseOut);
		}	
	}
}
